<?php

namespace app\admin\controller\buddha;

use app\common\controller\AdminController;
use EasyAdmin\annotation\ControllerAnnotation;
use EasyAdmin\annotation\NodeAnotation;
use think\App;

/**
 * @ControllerAnnotation(title="订单管理")
 */
class Order extends AdminController
{

    use \app\admin\traits\Curd;

    public function __construct(App $app)
    {
        parent::__construct($app);

        $this->model = new \app\admin\model\BuddhaOrder();
        
        $this->assign('getPaymentList', $this->model->getPaymentList());

        $this->assign('getStatusList', $this->model->getStatusList());
        $this->field = "*,cate_id as getCate,payment_time as get_payment_time";
    }

    public function edit($id)
    {
    }
    public function add()
    {
    }
}